package com.scedu;

import com.scedu.dao.StudentDao;
import com.scedu.dao.impl.StudentDaoImpl;
import com.scedu.entity.Student;

public class AppAdd {
    public static void main(String[] args) {
        StudentDao studentDao=new StudentDaoImpl();
        Student student=new Student();
        student.setId(1005);
        student.setName("张三5");
        student.setEmail("zss5@qq.com");
        student.setAge(105);
        int i = studentDao.insertStudent(student);

        System.out.println(i);
    }
}
